/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm.dao;

import org.orm.*;
import orm.*;

public interface LibroDAO {
	public Libro loadLibroByORMID(int lib_id) throws PersistentException;
	public Libro getLibroByORMID(int lib_id) throws PersistentException;
	public Libro loadLibroByORMID(int lib_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Libro getLibroByORMID(int lib_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Libro loadLibroByORMID(PersistentSession session, int lib_id) throws PersistentException;
	public Libro getLibroByORMID(PersistentSession session, int lib_id) throws PersistentException;
	public Libro loadLibroByORMID(PersistentSession session, int lib_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Libro getLibroByORMID(PersistentSession session, int lib_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Libro[] listLibroByQuery(String condition, String orderBy) throws PersistentException;
	public Libro[] listLibroByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Libro[] listLibroByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Libro[] listLibroByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Libro loadLibroByQuery(String condition, String orderBy) throws PersistentException;
	public Libro loadLibroByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Libro loadLibroByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Libro loadLibroByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Libro createLibro();
	public boolean save(orm.Libro libro) throws PersistentException;
	public boolean delete(orm.Libro libro) throws PersistentException;
	public boolean deleteAndDissociate(orm.Libro libro) throws PersistentException;
	public boolean deleteAndDissociate(orm.Libro libro, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(orm.Libro libro) throws PersistentException;
	public boolean evict(orm.Libro libro) throws PersistentException;
	public Libro loadLibroByCriteria(LibroCriteria libroCriteria);
	public Libro[] listLibroByCriteria(LibroCriteria libroCriteria);
}
